<div class="actu" align="left">
				<div id="login" align="center">
					<img src="<?php echo base_url();?>assets/images/bgrtop_login1.png" class="bgrtop"/>
    				<img src="<?php echo base_url();?>assets/images/bgrbottom_login1.png" class="bgrbottom"/>
					<div class="contenu" align="left">
						
                                            <div id="titre_login">RECHERCHE</div>
                                             <?php echo form_open(base_url() . 'index.php/produits/recherche_mot') ?>
						<table id="form_login">
							<tr><td>Mot</td><td><input type="text" name="mot" class="input_login"
                                                               value="<?php if(isset($recherche_mot)&&$recherche_mot!="_") echo $recherche_mot;?>"
                                                                                   /></td></tr>
							<tr><td>Prix</td><td><select name="prix" class="input_recherche">
                                              <option value="">Tous</option>
                                              <?php  foreach ( $listprix as $aRow): ?>
                                             <option value="<?php echo $aRow['id'] ;?>"
                                               <?php if(isset($recherche_prix)&&$recherche_prix==$aRow['id']) echo "selected";?>
                                                     ><?php echo $aRow['nom'] ;?></option>
                                             <?php endforeach ;?>
                                                                </select></td></tr>
							<tr><td>Catégorie</td><td><select name="cat" class="input_recherche">
                                              <option value="">Tous</option>  
                                               <?php  foreach ( $listcat as $aRow): ?>
                                             <option value="<?php echo $aRow['id'] ;?>"
                                             <?php if(isset($recherche_cat)&&$recherche_cat==$aRow['id']) echo "selected";?>
                                                     ><?php echo $aRow['nomfr'] ;?></option>
                                             <?php endforeach ;?>
                                                                </select></td></tr>
						</table>
                                            <div align="center"><input type="submit" name="submit" value=" " id="submit_recherche" class="submit"/></div>
					<?php echo form_close() ?>
                                        </div><!--END CONTENU-->
				</div><!--END LOGIN-->

                                       

					<div id="login2" align="center">
						<img src="<?php echo base_url();?>assets/images/bgrtop_login.png" class="bgrtop"/>
    					<img src="<?php echo base_url();?>assets/images/bgrbottom_login.png" class="bgrbottom"/>
				<?php if($this->session->userdata('user_id')==FALSE){?>
                                        <div class="contenu">
                                <div id="titre_login" >CONNEXION CLIENT</div>

                                <?php $att = array('id'=>'client_login');?>
                                <?php echo form_open('user/login',$att);?>
                                <table id="form_login">
                                <tr><td>Email</td><td><input type="text" name="email_login" id="email_login" class="input_login"/></td></tr>
                                <tr><td colspan="2"><?php echo form_error('email_login')?></td></tr>
                                <tr><td>Pass</td><td><input type="password" name="pass_login" id="pass_login" class="input_login"/></td></tr>
                                <tr><td colspan="2"><?php echo form_error('pass_login')?></td></tr>
                            </table>
                                    <div id="erreur"></div>
                            <input type="submit" value="LOGIN" name="submit" id="submit_login" class="submit"/>
                            <?php if(isset($login_error)) echo '<br/>'.$login_error;?>
                                <?php echo form_close();?>
                                <div id="pass_oublier">
                                    <a id="various3" href="<?php echo root_url('zoo-market').('index.php/accueil/register') ; ?>">Inscription</a> /
                                    <a href="<?php echo root_url('zoo-market').('index.php/accueil/forgot_pass') ; ?>">Mot de passe oublié?</a></div>
                            </div>
                            <?php }else{?>
                            <div class="contenu" align="left">
                            <table id="tbprofil">
                                <?php
                                    $user_id = $this->session->userdata('user_id');
                                    $ava = $this->session->userdata('gravatar');
                                    $image_path = './../assets/avatar/images/' . $ava;
                                    if ($ava != '') {
                                        if (file_exists($image_path)) {
                                            $image_path = root_url('zoo-market') . './assets/avatar/images/' . $ava;
                                        } else {
                                            $image_path = root_url('zoo-market') . 'assets/noimage.gif';
                                        }
                                    } else {
                                        $image_path = root_url('zoo-market') . 'assets/noimage.gif';
                                    }
                                ?>
                                <tr>
                                    <td>
                                        <img width="80px" src="<?php echo $image_path?>"/>
                                    </td>
                                    <td style="font-size: larger">Bonjour <br/><a href="<?php echo root_url('zoo-market') .'index.php/accueil/edit_profile' . '/' . $user_id ; ?>"><?php echo $this->session->userdata('display_name')?></a></td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <ul>
                                            <li> <a href="<?php echo root_url('zoo-market') .'index.php/accueil/change_pass' . '/' . $user_id ; ?>" target="_blank">Mot de pass </a></li>
                                            <li><a href="<?php echo site_url('produits/commandes') ?>" > Mes commandes </a> </li>
                                                <li><a href="<?php echo site_url('produits/echantillons') ?>" > Mes échantillons </a> </li>
                                            <li> <a href="<?php echo site_url('user/logout');?>">Déconnexion</a></li>
                                        </ul>
                                    </td>
                                </tr>
                            </table>
                            </div>
                            <?php }?>
					</div>	<!--END LOGIN2-->
                                        
                                             <div id="titre_menu" align="left">CATEGORIES</div>
                                         <div class="list_sidebar" align="left">
                                         <ul>
                                             <?php  foreach ($listcat as $aRow): ?>
                                             <li><a href="<?php echo site_url('produits/list_produits')."/".$aRow['id']?>"><?php echo $aRow['nomfr'] ;?></a></li>
                                             <?php endforeach ;?>
                                         </ul>
                                         </div>

						
                        
               
                            <div id="titre_menu" align="left">PROMOTION</div>
                            <table width="100%" class="product_sidebar">
                                  <?php foreach ($solde_produit as $aRow):?>
                                <tr>
                                    <td width="70px"><img  width="60px" src="<?php echo base_url();?>assets/photos/<?php echo $aRow['img'];?>" border="0" align="left" /></td>
                                    <td align="left" valign="top"><div class="sidebar_titre_item"><a href="<?php echo site_url("produits/detail_produit")."/".$aRow['id']?>"><?php echo $aRow['nomfr'];?></a></div>
                                    Our price: <span style="color:#5d94c5">
                                               <?php echo $aRow['prix']-$aRow['promo']." €";?>
                                                    <?php if($aRow['promo']>0) {?>
                                                    <span class="promo"> <?php  echo $aRow['prix'];?> €  </span>
                                               <?php } ?>
                                                </span>
                                    </td>
                                </tr>
                                 <?php endforeach;?>
                            </table>
           
            
                            <div id="titre_menu" align="left">COUP DE COEUR</div>
                             <table width="100%" class="product_sidebar">
                                  <?php foreach ($coeur_produit as $aRow):?>
                                <tr>
                                    <td width="70px"><img  width="60px" src="<?php echo base_url();?>assets/photos/<?php echo $aRow['img'];?>" border="0" align="left" /></td>
                                    <td align="left" valign="top"><div class="sidebar_titre_item"><a href="<?php echo site_url("produits/detail_produit")."/".$aRow['id']?>"><?php echo $aRow['nomfr'];?></a></div>
                                    Our price: <span style="color:#5d94c5">
                                               <?php echo $aRow['prix']-$aRow['promo']." €";?>
                                                    <?php if($aRow['promo']>0) {?>
                                                    <span class="promo"> <?php  echo $aRow['prix'];?> €  </span>
                                               <?php } ?>
                                    </span>
                                    </td>
                                </tr>
                                 <?php endforeach;?>
                            </table>
             
               
                                                <?php foreach ($card_vip as $vip):?>
                                                <div id="titre_menu" align="center"> <?php echo $vip['title']?> </div>
                                                <?php
                                                        $image_card = './../seatting-falin/assets/text_img/images/' . $vip['image'];
                                                        if (file_exists($image_card) && $vip['image']!= null) {
                                                            $image_card = root_url('zoo-market') . 'seatting-falin/assets/text_img/images/' . $vip['image'];
                                                        } else {
                                                            $image_card = root_url('zoo-market') . 'assets/noimage.gif';
                                                        }
                                                ?>
                                        <div id="fidelite" align="left"><img  src="<?php echo $image_card?>" width="110px" border="0"/>
                                                    <p align="left" id="text">
                                                        <?php echo get_short_description($vip['content'],15)?>
                                                    </p>
                                                </div>
                                                <?php endforeach;?>
                                                <p align="left">
                                                    <a href="<?php echo site_url('sidebar/detail_card_vip')?>" style="color:#5d94c5;">Lire la suite >></a>
                                                </p>
                                     
			
                            <div id="titre_menu" align="left">ACTUALITE</div>
                            <?php foreach ($actualite as $news):?>
                            <?php
                                    $image = './../assets/actuimg/thumbs/' . $news['img'];
                                    if (file_exists($image) && $news['img']!= null) {
                                        $image = root_url('zoo-market') . 'assets/actuimg/thumbs/' . $news['img'];
                                    } else {
                                        $image = root_url('zoo-market') . './assets/noimage.gif';
                                    }
                            ?>
                            <div id="titre_text1" align="left"><?php echo $news['title'];?></div><br/>
                            <div id="banner_left" align="center"><img width="100px" src="<?php echo $image;?>" border="0" /></div>
                            <div id="text" align="center">
                                <?php echo get_short_description($news['introtext'], 10);?></div>
                            <div id="titre_link" align="center"><a href="<?php echo root_url('zoo-market').'/index.php/accueil/news_detail/'.$news['id'];?>" style="color:#5d94c5;">Lire la suite >></a></div>
                            <?php endforeach;?>
                                                                <div id="image" align="center"><a href="<?php echo root_url('zoo-market').'seatting-falin'?>"><img border="0" src="<?php echo base_url();?>assets/images/baby_girl.png" /></a></div>
                                                                <div id="image" align="center"><a href="<?php echo root_url('zoo-market').'doggy-flirt'?>"<img border="0" src="<?php echo base_url();?>assets/images/logo-3.png" /></a></div>
                                                                <div id="image" align="center"><a href="<?php echo root_url('zoo-market').'animus'?>"<img border="0" src="<?php echo base_url();?>assets/images/logo5.png" /></a></div>

				</div>	<!--END ACTU-->
                             